package AIO;

import lombok.Data;

import java.nio.ByteBuffer;
import java.nio.channels.AsynchronousServerSocketChannel;
import java.nio.channels.AsynchronousSocketChannel;

/**
 * @author fei.fang
 * @date 2021/8/24
 **/
@Data
public class Attachment {

    private AsynchronousServerSocketChannel server;

    private AsynchronousSocketChannel channel;

    private boolean isReadMode;

    private ByteBuffer buffer;

}
